mmap: Remember the MAP_FIXED flag as VM_FIXED
authorBen Hutchings <ben@decadent.org.uk>
Wed, 5 Jul 2017 12:32:43 +0000 (13:32 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 27 May 2018 12:05:03 +0000 (13:05 +0100)
commitf9a1b328479712f339966421cd019a1a1895f9f2
tree31148618ff6dba87f25fda50f0a11f4730895cd0
parentf2455f3e14f482e5ac7cb475c2b6fa2576cef890
mmap: Remember the MAP_FIXED flag as VM_FIXED

Since 4.15 there are no spare bits, but we can use VM_ARCH_1 as
VM_FIXED wil only be needed on x86.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/x86
Gbp-Pq: Name mmap-remember-the-map_fixed-flag-as-vm_fixed.patch
include/linux/mm.h
include/linux/mman.h